package com.caigou.mapper.cms;

import com.caigou.bean.cms.entity.FunctionBlock;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface FunctionBlockMapper {
    int deleteByPrimaryKey(Integer id);


    int insertSelective(FunctionBlock record);

    FunctionBlock selectByPrimaryKey(Integer id);

    int updateByPrimaryKeySelective(FunctionBlock record);

    int updateByPrimaryKey(FunctionBlock record);

    List<FunctionBlock> findAllFunctionBlock();

    List<FunctionBlock> findFunctionBlockByFunctionCodes(@Param("privilegeCodes") List<String> privilegeCodes);

}
